package com.aaa.qy127.entity;

import java.util.Date;

public class DingDan {
    private Integer ddid;
    private String ddbh;
    private Date ddate;
    private Integer userid;
    private double totalprice;
    private Integer totalcount;
    private Integer page;//当前页数
    private Integer limit;//每一页显示的条数
    private String onTime;
    private String offTime;
    private String name;
    private Integer status;

    public DingDan() {
    }

    public DingDan(Integer ddid, String ddbh, Date ddate, Integer userid, double totalprice, Integer totalcount, Integer page, Integer limit, String onTime, String offTime, String name, Integer status) {
        this.ddid = ddid;
        this.ddbh = ddbh;
        this.ddate = ddate;
        this.userid = userid;
        this.totalprice = totalprice;
        this.totalcount = totalcount;
        this.page = page;
        this.limit = limit;
        this.onTime = onTime;
        this.offTime = offTime;
        this.name = name;
        this.status = status;
    }

    public Integer getDdid() {
        return ddid;
    }

    public void setDdid(Integer ddid) {
        this.ddid = ddid;
    }

    public String getDdbh() {
        return ddbh;
    }

    public void setDdbh(String ddbh) {
        this.ddbh = ddbh;
    }

    public Date getDdate() {
        return ddate;
    }

    public void setDdate(Date ddate) {
        this.ddate = ddate;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(double totalprice) {
        this.totalprice = totalprice;
    }

    public Integer getTotalcount() {
        return totalcount;
    }

    public void setTotalcount(Integer totalcount) {
        this.totalcount = totalcount;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getOnTime() {
        return onTime;
    }

    public void setOnTime(String onTime) {
        this.onTime = onTime;
    }

    public String getOffTime() {
        return offTime;
    }

    public void setOffTime(String offTime) {
        this.offTime = offTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "DingDan{" +
                "ddid=" + ddid +
                ", ddbh='" + ddbh + '\'' +
                ", ddate=" + ddate +
                ", userid=" + userid +
                ", totalprice=" + totalprice +
                ", totalcount=" + totalcount +
                ", page=" + page +
                ", limit=" + limit +
                ", onTime='" + onTime + '\'' +
                ", offTime='" + offTime + '\'' +
                ", name='" + name + '\'' +
                ", status=" + status +
                '}';
    }
}
